﻿using System;
using System.Collections.Generic;

namespace OrbitOne.Elmah.DAL.Entities
{
    /// <summary>
    /// Represents the Error filter rule entity.
    /// </summary>
    public class ErrorFilterRuleEntity
    {
        /// <summary>
        /// Gets or Sets the id of the error filter rule.
        /// </summary>
        public virtual Guid Id { get; set; }
        /// <summary>
        /// Gets or Sets the name of the error filter rule.
        /// </summary>
        public virtual string Name { get; set; }
        /// <summary>
        /// Gets or Sets the discription of the error filter rule.
        /// </summary>
        public virtual string Description { get; set; }
        /// <summary>
        /// Gets or Sets the level of the error filter rule.
        /// </summary>
        public virtual short Level { get; set; }
        /// <summary>
        /// Gets or Sets the type of the error filter rule.
        /// </summary>
        public virtual string Type { get; set; }
        /// <summary>
        /// Gets or Sets the XPaths that belong to this error filter rule.
        /// </summary>
        public virtual  IList<XPathEntity> XPaths{ get; set;}
    }
}
